package com.kehutong.common.urlconfig;

import org.coraframework.boot.Application;
import org.coraframework.config.Config;
import org.coraframework.inject.Singleton;

@Singleton
public class MapUrlConfig extends UrlConfig {

    protected MapUrlConfig() {
        super("map", "url");
        final Config config = Application.getConfig("map");
        this.key = config.getString("key");
        this.radius = config.getInt("radius");
    }
    
    // 高德地图key
	private final String key;
	// 范围米
	private final int radius;

	public String getKey() {
		return key;
	}

	public int getRadius() {
		return radius;
	}
	
	

}